How To Implement Threshold Training